package com.cskaoyan.service;

import com.cskaoyan.annotation.WdAnnotation;
import com.cskaoyan.annotation.WdAnnotation2;

/**
 * @author stone
 * @date 2022/12/16 23:36
 */
//@WdAnnotation(value = "hello",location = "wuhan") // value属性只提供hello → 行
//@WdAnnotation(value = {"hello"},location = "wuhan") // value属性只提供hello → 行
@WdAnnotation(value = {"hello","world"},location = "wuhan") // value属性提供hello和world
public class UserServiceImpl {

    //@WdAnnotation2(value = {"good","bye"})
    @WdAnnotation2({"good","bye"})
    public void sayHello(String name) {
        System.out.println("hello " + name);
    }
}
